<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>Stylin' with CSS - Figure 6.24 Popup Overlay</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            font-family: helvetica, arial, sans-serif;
        }

        figure {
            width: 144px;
            height: 153px;
            margin: 20px 20px;
            border: 1px solid #666;
            position: relative;
            float: left;
        }

        .img {
            height: 150px;
            width: 150px;
        }

        figcaption {
            display: none;
            position: absolute;
            left: 74%;
            top: 14px;
            width: 130px;
            padding: 10px;
            background: #f2eaea;
            border: 3px solid red;
            border-radius: 6px;
        }

        figure:hover figcaption {
            display: block;
            z-index: 2;
        }


        figcaption h3 {
            font-size: 14px;
            color: #666;
            margin-bottom: 6px;
        }

        figcaption a {
            display: block;
            text-decoration: none;
            font-size: 12px;
            color: #000;
        }

        figcaption::after {
            content: " ";
            position: absolute;
            border: 12px solid;
            border-color: transparent red transparent transparent;
            right: 100%;
            top: 17px;
            height: 0px;
            width: 0px;
        }
    </style>
</head>

<body>
    <figure>
        <div class="img"></div>
        <figcaption>
            <h3>Pink Platforms</h3>
            <a href="#">More info</a>
        </figcaption>
    </figure>
    <figure class="click_me">
        <div class="img"></div>
        <figcaption>
            <h3>Leopard Platforms</h3>
            <a href="#">More info</a>
        </figcaption>
    </figure>
    <figure class="click_me">
        <div class="img"></div>
        <figcaption>
            <h3>Red Platforms</h3>
            <a href="#">More info</a>
        </figcaption>
    </figure>
</body>

</html>